# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=brasero
pkgver=3.12.3
pkgrel=5
pkgdesc="Brasero is a GNOME application to burn CD/DVD"
url="https://wiki.gnome.org/Apps/Brasero"
# s390x blocked by mozjs91 -> nautilus-dev
arch="all !s390x"
license="GPL-2.0-or-later"
makedepends="
	glib-dev
	gobject-introspection-dev
	gst-plugins-base-dev
	gstreamer-dev
	gtk+3.0-dev
	intltool
	itstool
	libburn-dev
	libcanberra-dev
	libice-dev
	libisofs-dev
	libnotify-dev
	libsm-dev
	libxml2-dev
	nautilus-dev
	totem-pl-parser-dev
	tracker-dev
	"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/brasero/${pkgver%.*}/brasero-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0e3c97b2a754f7178207db390e33b832fcaed3856ae5dee447e5c26d712728302dbebbf839a4fb7565f63b3ebb1e4936e20739482a8114e6fe2700805659270a  brasero-3.12.3.tar.xz
"
